Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Frame Manipulation Functions /


JMFrameActivate

Activates or deactivates a frame.

OSStatus JMFrameActivate (
                     JMFrameRef frame, 
                     Boolean activate);
frame
The frame to be activated or deactivated.
activate
A Boolean value. If true, the frame is to be made active; if false, the frame is to be deactivated.
function result
A result code; see "JManager Result Codes".
DISCUSSION
Only one frame should be active at one time, so if you make a frame active, deactivate the other frames in that AWT context thread. The client application must keep track of the currently active frame.

SEE ALSO
"Update, Activate, and Resume Events".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997